﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title></title>
	</head>
	<body>
        <!-- start content --> 
			<p>This is a list of all <b><a href="/wiki/Internet_Relay_Chat" title="Internet Relay Chat">Internet Relay Chat</a> commands</b> from <a href="/wiki/IETF" title="IETF" class="mw-redirect">IETF</a> <a href="/wiki/Request_for_Comments" title="Request for Comments">RFCs</a> 1459 and 2812. In mostly all graphical IRC clients, raw commands must be preceded by a slash ("/"). Angle brackets ("&lt;" and "&gt;") denote what's placed in the encapsulated field, not a literal part of the command. Arguments encapsulated in square brackets ("[" and "]") are optional and override the command's defaults.</p> 
<table id="toc" class="toc" summary="Contents"> 
<tr> 
<td> 
<div id="toctitle"> 
<h2>Contents</h2> 
</div> 
<ul> 
<li class="toclevel-1"><a href="#User_commands"><span class="tocnumber">1</span> <span class="toctext">User commands</span></a> 
<ul> 
<li class="toclevel-2"><a href="#ADMIN"><span class="tocnumber">1.1</span> <span class="toctext">ADMIN</span></a></li> 
<li class="toclevel-2"><a href="#AWAY"><span class="tocnumber">1.2</span> <span class="toctext">AWAY</span></a></li> 
<li class="toclevel-2"><a href="#CONNECT"><span class="tocnumber">1.3</span> <span class="toctext">CONNECT</span></a></li> 
<li class="toclevel-2"><a href="#DIE"><span class="tocnumber">1.4</span> <span class="toctext">DIE</span></a></li> 
<li class="toclevel-2"><a href="#ERROR"><span class="tocnumber">1.5</span> <span class="toctext">ERROR</span></a></li> 
<li class="toclevel-2"><a href="#INFO"><span class="tocnumber">1.6</span> <span class="toctext">INFO</span></a></li> 
<li class="toclevel-2"><a href="#INVITE"><span class="tocnumber">1.7</span> <span class="toctext">INVITE</span></a></li> 
<li class="toclevel-2"><a href="#ISON"><span class="tocnumber">1.8</span> <span class="toctext">ISON</span></a></li> 
<li class="toclevel-2"><a href="#JOIN"><span class="tocnumber">1.9</span> <span class="toctext">JOIN</span></a></li> 
<li class="toclevel-2"><a href="#KICK"><span class="tocnumber">1.10</span> <span class="toctext">KICK</span></a></li> 
<li class="toclevel-2"><a href="#KILL"><span class="tocnumber">1.11</span> <span class="toctext">KILL</span></a></li> 
<li class="toclevel-2"><a href="#LINKS"><span class="tocnumber">1.12</span> <span class="toctext">LINKS</span></a></li> 
<li class="toclevel-2"><a href="#LIST"><span class="tocnumber">1.13</span> <span class="toctext">LIST</span></a></li> 
<li class="toclevel-2"><a href="#LUSERS"><span class="tocnumber">1.14</span> <span class="toctext">LUSERS</span></a></li> 
<li class="toclevel-2"><a href="#MODE"><span class="tocnumber">1.15</span> <span class="toctext">MODE</span></a></li> 
<li class="toclevel-2"><a href="#MOTD"><span class="tocnumber">1.16</span> <span class="toctext">MOTD</span></a></li> 
<li class="toclevel-2"><a href="#NAMES"><span class="tocnumber">1.17</span> <span class="toctext">NAMES</span></a></li> 
<li class="toclevel-2"><a href="#NICK"><span class="tocnumber">1.18</span> <span class="toctext">NICK</span></a></li> 
<li class="toclevel-2"><a href="#NOTICE"><span class="tocnumber">1.19</span> <span class="toctext">NOTICE</span></a></li> 
<li class="toclevel-2"><a href="#OPER"><span class="tocnumber">1.20</span> <span class="toctext">OPER</span></a></li> 
<li class="toclevel-2"><a href="#PART"><span class="tocnumber">1.21</span> <span class="toctext">PART</span></a></li> 
<li class="toclevel-2"><a href="#PASS"><span class="tocnumber">1.22</span> <span class="toctext">PASS</span></a></li> 
<li class="toclevel-2"><a href="#PING"><span class="tocnumber">1.23</span> <span class="toctext">PING</span></a></li> 
<li class="toclevel-2"><a href="#PONG"><span class="tocnumber">1.24</span> <span class="toctext">PONG</span></a></li> 
<li class="toclevel-2"><a href="#PRIVMSG"><span class="tocnumber">1.25</span> <span class="toctext">PRIVMSG</span></a></li> 
<li class="toclevel-2"><a href="#QUIT"><span class="tocnumber">1.26</span> <span class="toctext">QUIT</span></a></li> 
<li class="toclevel-2"><a href="#REHASH"><span class="tocnumber">1.27</span> <span class="toctext">REHASH</span></a></li> 
<li class="toclevel-2"><a href="#RESTART"><span class="tocnumber">1.28</span> <span class="toctext">RESTART</span></a></li> 
<li class="toclevel-2"><a href="#SERVICE"><span class="tocnumber">1.29</span> <span class="toctext">SERVICE</span></a></li> 
<li class="toclevel-2"><a href="#SERVLIST"><span class="tocnumber">1.30</span> <span class="toctext">SERVLIST</span></a></li> 
<li class="toclevel-2"><a href="#SERVER"><span class="tocnumber">1.31</span> <span class="toctext">SERVER</span></a></li> 
<li class="toclevel-2"><a href="#SQUERY"><span class="tocnumber">1.32</span> <span class="toctext">SQUERY</span></a></li> 
<li class="toclevel-2"><a href="#SQUIT"><span class="tocnumber">1.33</span> <span class="toctext">SQUIT</span></a></li> 
<li class="toclevel-2"><a href="#STATS"><span class="tocnumber">1.34</span> <span class="toctext">STATS</span></a></li> 
<li class="toclevel-2"><a href="#SUMMON"><span class="tocnumber">1.35</span> <span class="toctext">SUMMON</span></a></li> 
<li class="toclevel-2"><a href="#TIME"><span class="tocnumber">1.36</span> <span class="toctext">TIME</span></a></li> 
<li class="toclevel-2"><a href="#TOPIC"><span class="tocnumber">1.37</span> <span class="toctext">TOPIC</span></a></li> 
<li class="toclevel-2"><a href="#TRACE"><span class="tocnumber">1.38</span> <span class="toctext">TRACE</span></a></li> 
<li class="toclevel-2"><a href="#USER"><span class="tocnumber">1.39</span> <span class="toctext">USER</span></a></li> 
<li class="toclevel-2"><a href="#USERHOST"><span class="tocnumber">1.40</span> <span class="toctext">USERHOST</span></a></li> 
<li class="toclevel-2"><a href="#USERS"><span class="tocnumber">1.41</span> <span class="toctext">USERS</span></a></li> 
<li class="toclevel-2"><a href="#VERSION"><span class="tocnumber">1.42</span> <span class="toctext">VERSION</span></a></li> 
<li class="toclevel-2"><a href="#WALLOPS"><span class="tocnumber">1.43</span> <span class="toctext">WALLOPS</span></a></li> 
<li class="toclevel-2"><a href="#WHO"><span class="tocnumber">1.44</span> <span class="toctext">WHO</span></a></li> 
<li class="toclevel-2"><a href="#WHOIS"><span class="tocnumber">1.45</span> <span class="toctext">WHOIS</span></a></li> 
<li class="toclevel-2"><a href="#WHOWAS"><span class="tocnumber">1.46</span> <span class="toctext">WHOWAS</span></a></li> 
</ul> 
</li> 
</ul> 
</td> 
</tr> 
</table> 
<script type="text/javascript"> 
//<![CDATA[
 if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } 
//]]>
</script> 
<p><a name="User_commands" id="User_commands"></a></p> 
<h2><span class="mw-headline">User commands</span></h2> 
<p><a name="ADMIN" id="ADMIN"></a></p> 
<h3><span class="mw-headline">ADMIN</span></h3> 
<p>Syntax:</p> 
<pre> 
ADMIN [&lt;server&gt;]
</pre> 
<p>This instructs the server to return information about the administrator of the server specified by &lt;target&gt;, or the current server if target is omitted.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="AWAY" id="AWAY"></a></p> 
<h3><span class="mw-headline">AWAY</span></h3> 
<p>Syntax:</p> 
<pre> 
AWAY [&lt;message&gt;]
</pre> 
<p>This command provides the server with a message to automatically send in reply to a PRIVMSG directed at the user, but not to a channel they are on. If &lt;message&gt; is omitted, the away status is removed.</p> 
<p>Defined in RFC1459</p> 
<p><a name="CONNECT" id="CONNECT"></a></p> 
<h3><span class="editsection"></span> <span class="mw-headline">CONNECT</span></h3> 
<p>Syntax:</p> 
<pre> 
CONNECT &lt;target server&gt; [&lt;port&gt; [&lt;remote server&gt;]] (RFC1459)
CONNECT &lt;target server&gt; &lt;port&gt; [&lt;remote server&gt;]   (RFC2812)
</pre> 
<p>This command instructs the server &lt;remote server&gt; (or the current server, if &lt;remote server&gt; is omitted) to connect to &lt;target server&gt; on port &lt;port&gt;. This command should only be available to <a href="/wiki/IRC_Operator" title="IRC Operator" class="mw-redirect">IRC Operators</a>.</p> 
<p>Defined in RFC1459; the &lt;port&gt; parameter became mandatory in RFC2812.</p> 
<p><a name="DIE" id="DIE"></a></p> 
<h3><span class="mw-headline">DIE</span></h3> 
<p>Syntax:</p> 
<pre> 
DIE
</pre> 
<p>This command instructs the server to shut down.</p> 
<p>Defined in RFC2812.</p> 
<p><a name="ERROR" id="ERROR"></a></p> 
<h3><span class="mw-headline">ERROR</span></h3> 
<p>Syntax:</p> 
<pre> 
ERROR &lt;error message&gt;
</pre> 
<p>This command is for use by servers to report errors to other servers. It is also used before terminating client connections.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="INFO" id="INFO"></a></p> 
<h3><span class="mw-headline">INFO</span></h3> 
<p>Syntax:</p> 
<pre> 
INFO [&lt;target&gt;]
</pre> 
<p>This command returns information about the &lt;target&gt; server, or the current server if &lt;target&gt; is omitted. Information returned includes the server's version, when it was compiled, the patchlevel, when it was started, and any other information which may be considered to be relevant.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="INVITE" id="INVITE"></a></p> 
<h3><span class="mw-headline">INVITE</span></h3> 
<p>Syntax:</p> 
<pre> 
INVITE &lt;nickname&gt; &lt;channel&gt;
</pre> 
<p>This command invites &lt;nickname&gt; to the channel &lt;channel&gt;. &lt;channel&gt; does not have to exist, but if it does, only members of the channel are allowed to invite other clients. If the channel mode i is set, only channel operators may invite other clients.</p> 
<p>Defined in RFC1459</p> 
<p><a name="ISON" id="ISON"></a></p> 
<h3><span class="mw-headline">ISON</span></h3> 
<p>Syntax:</p> 
<pre> 
ISON &lt;nicknames&gt;
</pre> 
<p>This command queries the server to see if the clients in the space-separated list &lt;nicknames&gt; are currently on the network. The server returns only the nicknames that are on the network in a space-separated list. If none of the clients are on the network the server returns an empty list.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="JOIN" id="JOIN"></a></p> 
<h3><span class="mw-headline">JOIN</span></h3> 
<p>Syntax:</p> 
<pre> 
JOIN &lt;channels&gt; [&lt;keys&gt;]
</pre> 
<p>This command makes the client join the channels in the comma-separated list &lt;channels&gt;, specifying the passwords, if needed, in the comma-separated list &lt;keys&gt;. If the channel(s) do not exist then they will be created.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="KICK" id="KICK"></a></p> 
<h3><span class="mw-headline">KICK</span></h3> 
<p>Syntax:</p> 
<pre> 
KICK &lt;channel&gt; &lt;client&gt; [&lt;message&gt;]
</pre> 
<p>This command forcibly removes &lt;client&gt; from &lt;channel&gt;. This command may only be issued by channel operators.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="KILL" id="KILL"></a></p> 
<h3><span class="mw-headline">KILL</span></h3> 
<p>Syntax:</p> 
<pre> 
KILL &lt;client&gt; &lt;comment&gt;
</pre> 
<p>This command forcibly removes &lt;client&gt; from the network. This command may only be issued by IRC operators.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="LINKS" id="LINKS"></a></p> 
<h3><span class="mw-headline">LINKS</span></h3> 
<p>Syntax:</p> 
<pre> 
LINKS [&lt;remote server&gt; [&lt;server mask&gt;]]
</pre> 
<p>This command lists all server links matching &lt;server mask&gt;, if given, on &lt;remote server&gt;, or the current server if omitted.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="LIST" id="LIST"></a></p> 
<h3><span class="mw-headline">LIST</span></h3> 
<p>Syntax:</p> 
<pre> 
LIST [&lt;channels&gt; [&lt;server&gt;]]
</pre> 
<p>This command lists all channels on the server. If the comma-separated list &lt;channels&gt; is given, it will return the channel topics. If &lt;server&gt; is given, the command will be forwarded to &lt;server&gt; for evaluation.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="LUSERS" id="LUSERS"></a></p> 
<h3><span class="mw-headline">LUSERS</span></h3> 
<p>Syntax:</p> 
<pre> 
LUSERS [&lt;mask&gt; [&lt;server&gt;]]
</pre> 
<p>This command returns statistics about the size of the network. If called with no arguments, the statistics will reflect the entire network. If &lt;mask&gt; is given, it will return only statistics reflecting the masked subset of the network. If &lt;target&gt; is given, the command will be forwarded to &lt;server&gt; for evaluation.</p> 
<p>Defined in RFC2812.</p> 
<p><a name="MODE" id="MODE"></a></p> 
<h3><span class="mw-headline">MODE</span></h3> 
<p>The MODE command is dual-purpose. It can be used to set both user and channel modes. Syntax:</p> 
<pre> 
MODE &lt;nickname&gt; &lt;flags&gt; (user)
MODE &lt;channel&gt; &lt;flags&gt; [&lt;args&gt;]
</pre> 
<p>Defined in RFC1459.</p> 
<p><a name="MOTD" id="MOTD"></a></p> 
<h3><span class="mw-headline">MOTD</span></h3> 
<p>Syntax:</p> 
<pre> 
MOTD [&lt;server&gt;]
</pre> 
<p>This command returns the message of the day on &lt;server&gt; or the current server if it is omitted.</p> 
<p>Defined in RFC2812.</p> 
<p><a name="NAMES" id="NAMES"></a></p> 
<h3><span class="mw-headline">NAMES</span></h3> 
<p>Syntax:</p> 
<pre> 
NAMES [&lt;channels&gt;]            (RFC1459)
NAMES [&lt;channels&gt; [&lt;server&gt;]] (RFC2812)
</pre> 
<p>This command returns a list of who is on the comma-separated list of &lt;channels&gt;, by channel name. If &lt;channels&gt; is omitted, all users are shown, grouped by channel name with all users who are not on a channel being shown as part of channel "*". If &lt;server&gt; is specified, the command is sent to &lt;server&gt; for evaluation.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="NICK" id="NICK"></a></p> 
<h3><span class="mw-headline">NICK</span></h3> 
<p>Syntax:</p> 
<pre> 
NICK &lt;nickname&gt; [&lt;hopcount&gt;] (RFC1459)
NICK &lt;nickname&gt;              (RFC2812)
</pre> 
<p>This command allows a client to change their IRC nickname. Hopcount is for use between servers to specify how far away a nickname is from its home server.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="NOTICE" id="NOTICE"></a></p> 
<h3><span class="mw-headline">NOTICE</span></h3> 
<p>Syntax:</p> 
<pre> 
NOTICE &lt;msgtarget&gt; &lt;message&gt;
</pre> 
<p>This command works similarly to PRIVMSG, except automatic replies must never be sent in reply to NOTICE messages.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="OPER" id="OPER"></a></p> 
<h3><span class="mw-headline">OPER</span></h3> 
<p>Syntax:</p> 
<pre> 
OPER &lt;username&gt; &lt;password&gt;
</pre> 
<p>This command authenticated a user as an IRC operator on that server/network.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="PART" id="PART"></a></p> 
<h3><span class="mw-headline">PART</span></h3> 
<p>Syntax:</p> 
<pre> 
PART &lt;channels&gt;
</pre> 
<p>This command causes a user to leave the channels in the comma-separated list &lt;channels&gt;.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="PASS" id="PASS"></a></p> 
<h3><span class="mw-headline">PASS</span></h3> 
<p>Syntax:</p> 
<pre> 
PASS &lt;password&gt;
</pre> 
<p>This command is used to set a connection password. This command must be sent before the NICK/USER registration combination.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="PING" id="PING"></a></p> 
<h3><span class="mw-headline">PING</span></h3> 
<p>Syntax:</p> 
<pre> 
PING &lt;server1&gt; [&lt;server2&gt;]
</pre> 
<p>This command is used to test the presence of a connection. A PING message results in a PONG reply. If &lt;server2&gt; is specified, the message gets passed on to it.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="PONG" id="PONG"></a></p> 
<h3><span class="mw-headline">PONG</span></h3> 
<p>Syntax:</p> 
<pre> 
PONG &lt;server2&gt; [&lt;server2&gt;]
</pre> 
<p>This command is a reply to the PING command and works in much the same way.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="PRIVMSG" id="PRIVMSG"></a></p> 
<h3><span class="mw-headline">PRIVMSG</span></h3> 
<p>Syntax:</p> 
<pre> 
PRIVMSG &lt;msgtarget&gt; &lt;message&gt;
</pre> 
<p>This command sends &lt;message&gt; to &lt;msgtarget&gt;, which is usually a user or channel.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="QUIT" id="QUIT"></a></p> 
<h3><span class="mw-headline">QUIT</span></h3> 
<p>Syntax:</p> 
<pre> 
QUIT [&lt;message&gt;]
</pre> 
<p>This command disconnects the user from the server.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="REHASH" id="REHASH"></a></p> 
<h3><span class="mw-headline">REHASH</span></h3> 
<p>Syntax:</p> 
<pre> 
REHASH
</pre> 
<p>This causes the server to re-read and re-process its configuration file(s). This command can only usually be sent by IRC Operators.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="RESTART" id="RESTART"></a></p> 
<h3><span class="mw-headline">RESTART</span></h3> 
<p>Syntax:</p> 
<pre> 
RESTART
</pre> 
<p>This command is used to restart a server. It may only be sent by IRC Operators.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="SERVICE" id="SERVICE"></a></p> 
<h3><span class="mw-headline">SERVICE</span></h3> 
<p>Syntax:</p> 
<pre> 
SERVICE &lt;nickname&gt; &lt;reserved&gt; &lt;distribution&gt; &lt;type&gt; &lt;reserved&gt; &lt;info&gt;
</pre> 
<p>This command is used to register a new service on the network.</p> 
<p>Defined in RFC2812.</p> 
<p><a name="SERVLIST" id="SERVLIST"></a></p> 
<h3><span class="mw-headline">SERVLIST</span></h3> 
<p>Syntax:</p> 
<pre> 
SERVLIST [&lt;mask&gt; [&lt;type&gt;]]
</pre> 
<p>This command is used to list the services currently on the network.</p> 
<p>Defined in RFC2812.</p> 
<p><a name="SERVER" id="SERVER"></a></p> 
<h3><span class="mw-headline">SERVER</span></h3> 
<p>Syntax:</p> 
<pre> 
SERVER &lt;servername&gt; &lt;hopcount&gt; &lt;info&gt;
</pre> 
<p>The server message is used to tell a server that the other end of a new connection is a server. This message is also used to pass server data over whole net. &lt;hopcount&gt; details how many hops (server connections) away &lt;servername&gt; is. &lt;info&gt; contains addition human-readble information about the server.</p> 
<p>Defined in RFC1459</p> 
<p><a name="SQUERY" id="SQUERY"></a></p> 
<h3><span class="mw-headline">SQUERY</span></h3> 
<p>Syntax:</p> 
<pre> 
SQUERY &lt;servicename&gt; &lt;text&gt;
</pre> 
<p>This command is identical to PRIVMSG except the recipient must be a service.</p> 
<p>Defined in RFC2812.</p> 
<p><a name="SQUIT" id="SQUIT"></a></p> 
<h3><span class="mw-headline">SQUIT</span></h3> 
<p>Syntax:</p> 
<pre> 
SQUIT &lt;server&gt; &lt;comment&gt;
</pre> 
<p>This command causes &lt;server&gt; to quit the network.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="STATS" id="STATS"></a></p> 
<h3><span class="mw-headline">STATS</span></h3> 
<p>Syntax:</p> 
<pre> 
STATS &lt;query&gt; [&lt;server&gt;]
</pre> 
<p>This command returns statistics about the current server, or &lt;server&gt; if it's specified.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="SUMMON" id="SUMMON"></a></p> 
<h3><span class="mw-headline">SUMMON</span></h3> 
<p>Syntax:</p> 
<pre> 
SUMMON &lt;user&gt; [&lt;server&gt;]             (RFC1459)
SUMMON &lt;user&gt; [&lt;server&gt; [&lt;channel&gt;]] (RFC2812)
</pre> 
<p>This command gives users who are on the same host as &lt;server&gt; a message asking them to join IRC.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="TIME" id="TIME"></a></p> 
<h3><span class="mw-headline">TIME</span></h3> 
<p>Syntax:</p> 
<pre> 
TIME [&lt;server&gt;]
</pre> 
<p>This command returns the local time on the current server, or &lt;server&gt; if specified.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="TOPIC" id="TOPIC"></a></p> 
<h3>&nbsp;<span class="mw-headline">TOPIC</span></h3> 
<p>Syntax:</p> 
<pre> 
TOPIC &lt;channel&gt; [&lt;topic&gt;]
</pre> 
<p>This command allows the client to query or set the channel topic on &lt;channel&gt;. If &lt;topic&gt; is given, it sets the channel topic to &lt;topic&gt;. If channel mode +t is set, only a channel operator may set the topic.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="TRACE" id="TRACE"></a></p> 
<h3>&nbsp;<span class="mw-headline">TRACE</span></h3> 
<p>Syntax:</p> 
<pre> 
TRACE [&lt;target&gt;]
</pre> 
<p>This command is used to trace a path across the IRC network to a specific server or client, in a similar method to <a href="/wiki/Tracert" title="Tracert" class="mw-redirect">tracert</a></p> 
<p>Defined in RFC1459.</p> 
<p><a name="USER" id="USER"></a></p> 
<h3>&nbsp;<span class="mw-headline">USER</span></h3> 
<p>Syntax:</p> 
<pre> 
USER &lt;username&gt; &lt;hostname&gt; &lt;servername&gt; &lt;realname&gt; (RFC1459)
USER &lt;user&gt; &lt;mode&gt; &lt;unused&gt; &lt;realname&gt;             (RFC2812)
</pre> 
<p>This command is used at the beginning of a connection to specify the username, hostname, real name and initial user modes of the connecting client. &lt;realname&gt; may contain spaces, and thus must be prefixed with a colon.</p> 
<p>Defined in RFC1459, modified in RFC2812.</p> 
<p><a name="USERHOST" id="USERHOST"></a></p> 
<h3>&nbsp;<span class="mw-headline">USERHOST</span></h3> 
<p>Syntax:</p> 
<pre> 
USERHOST &lt;nickname&gt; [&lt;nickname&gt; &lt;nickname&gt; ...]
</pre> 
<p>This command returns a list of information about the nicknames specified.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="USERS" id="USERS"></a></p> 
<h3>&nbsp;<span class="mw-headline">USERS</span></h3> 
<p>Syntax:</p> 
<pre> 
USERS [&lt;server&gt;]
</pre> 
<p>This command returns a list of users and information about those users in a format similar to the UNIX commands who, rusers and finger.</p> 
<p>Defined in RFC1459.</p> 
<p><a name="VERSION" id="VERSION"></a></p> 
<h3><span class="mw-headline">VERSION</span></h3> 
<p>Syntax:</p> 
<pre> 
VERSION [&lt;server&gt;]
</pre> 
<p>This command returns the <a href="/wiki/Software_version" title="Software version" class="mw-redirect">version</a> of &lt;server&gt;, or the current server if omitted.</p> 
<Defined in RFC1459.</p> 
<p><a name="WALLOPS" id="WALLOPS"></a></p> 
<h3><span class="mw-headline">WALLOPS</span></h3> 
<p>Syntax:x:</p> 
<pre> 
WALLOPS &lt;message&gt;
</pre> 
<p>This command sends &lt;message&gt; to all operators connected to the server (RFC1459), or all users with user mode 'w' set (RFC2812).</p> 
<Defined in RFC1459.</p> 
<p><a name="WHO" id="WHO"></a></p> 
<h3><span class="mw-headline">WHO</span></h3> 
<p>Syntax:x:</p> 
<pre> 
WHO [&lt;name&gt; ["o"]]
</pre> 
<p>This command returns a list of users who match &lt;name&gt;. If the flag "o" is given, the server will only return information about IRC Operators.</p> 
<Defined in RFC1459.</p> 
<p><a name="WHOIS" id="WHOIS"></a></p> 
<h3><span class="mw-headline">WHOIS</span></h3> 
<p>Syntax:x:</p> 
<pre> 
WHOIS [&lt;server&gt;] &lt;nicknames&gt;
</pre> 
<p>This returns information about the comma-separated list of nicknames masks &lt;nicknames&gt;. If &lt;server&gt; is given, the command is forwarded to it for processing.</p> 
<Defined in RFC1459.</p> 
<p><a name="WHOWAS" id="WHOWAS"></a></p> 
<h3><span class="mw-headline">WHOWAS</span></h3> 
<p>Syntax:x:</p> 
<pre> 
WHOWAS &lt;nickname&gt; [&lt;count&gt; [&lt;server&gt;]]
</pre> 
<p>This command is used to return information about a nickname that is no longer in use (due to client disconnection, or nickname changes). If given, the server will return information from the last &lt;count&gt; times the nickname has been used. If &lt;server&gt; is given, the command is forwarded to it for processing. In RFC2812, &lt;nickname&gt; can be a comma-separated list of nicknames.</p> 
<p>Defined in RFC1459.</p> 
 
	</body>
</html>